package com.ohos.connect.devicecloud.app.modular.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;


@Getter
@Setter
public class AppUserEditDTO {

    /** 账号 */
    @ApiModelProperty(value = "账号", required = true, position = 2)
    @NotBlank(message = "account不能为空")
    private String account;

    /** 头像 */
    @ApiModelProperty(value = "头像，图片base64", position = 4)
    private String avatar;

    /** 昵称 */
    @ApiModelProperty(value = "昵称", position = 7)
    private String nickname;

    /** 手机 */
    @ApiModelProperty(value = "手机", position = 23)
    private String phone;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱", position = 24)
    private String email;

    /** 邮箱 */
    @ApiModelProperty(value = "密码", position = 24)
    private String password;

}
